package org.jarraiders.musiclibrary.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class AddAlbumEvent extends GwtEvent<AddAlbumEventHandler> {
  public static Type<AddAlbumEventHandler> TYPE = new Type<AddAlbumEventHandler>();
  
  @Override
  public Type<AddAlbumEventHandler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(AddAlbumEventHandler handler) {
    handler.onAddAlbum(this);
  }
}
